﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Globalization;

namespace com.code.Editors.Code
{
   public class GuidDataTable
    {
        private string tableName;
        private string tableAlias;
        private bool isMaster;

        public bool IsMaster
        {
            get { return isMaster; }
            set { isMaster = value; }
        }

        public string TableAlias
        {
            get { return tableAlias; }
            set { tableAlias = value; }
        }
       
       private ArrayList listColumns;

      
       public GuidDataTable(string tableName)
       {
           this.tableName = tableName;
           this.tableAlias = new CultureInfo("en").TextInfo.ToLower(TableName);
           listColumns = new ArrayList();
       }

       public void addGuidDataColumn(GuidDataColumn column)
       {
           listColumns.Add(column);
       }

       public ArrayList ListColumns
       {
           get { return listColumns; }           
       }

       public string TableName
       {
           get { return tableName; }
           set { tableName = value; }
       }

    }
}
